package com.wz.project.api.tmsMatnr.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wz.framework.aspectj.lang.annotation.Excel;
import com.wz.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * tms物品信息对象 tm_matnr
 * 
 * @author wz
 * @date 2022-11-28
 */
public class TmMatnr extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 子物料号 */
    @Excel(name = "子物料号")
    private String matnr;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String maktx;

    /** 物料号 */
    @Excel(name = "物料号")
    private String matnrMain;

    /** 款式 */
    @Excel(name = "款式")
    private String ykutxt;

    /** 规格 */
    @Excel(name = "规格")
    private String ewbez;

    /** 颜色 */
    @Excel(name = "颜色")
    private String yyantxt;

    /** 基本单位 */
    @Excel(name = "基本单位")
    private String funit;

    /** 包装单位 */
    @Excel(name = "包装单位")
    private String fpackunit;

    /** 主序列标识 */
    @Excel(name = "主序列标识")
    private String fflag;

    /** 母件码 */
    @Excel(name = "母件码")
    private String barcode;

    /** 子件码 */
    @Excel(name = "子件码")
    private String fbarcode;

    /** 子件总数 */
    @Excel(name = "子件总数")
    private BigDecimal num;

    /** 子件单数 */
    @Excel(name = "子件单数")
    private BigDecimal fnum;

    /** 入库单号 */
    @Excel(name = "入库单号")
    private String inStockId;

    /** 单行号 */
    @Excel(name = "单行号")
    private String inStockDId;

    /** 序号 */
    @Excel(name = "序号")
    private String fid;

    /** 出库单号 */
    @Excel(name = "出库单号")
    private String outStockId;

    /** 出库单id */
    @Excel(name = "出库单id")
    private String outStockDId;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    private String lotNo;

    private int type;

    public String getMatnr() {
        return matnr;
    }

    public void setMatnr(String matnr) {
        this.matnr = matnr;
    }

    public String getMaktx() {
        return maktx;
    }

    public void setMaktx(String maktx) {
        this.maktx = maktx;
    }

    public String getMatnrMain() {
        return matnrMain;
    }

    public void setMatnrMain(String matnrMain) {
        this.matnrMain = matnrMain;
    }

    public String getYkutxt() {
        return ykutxt;
    }

    public void setYkutxt(String ykutxt) {
        this.ykutxt = ykutxt;
    }

    public String getEwbez() {
        return ewbez;
    }

    public void setEwbez(String ewbez) {
        this.ewbez = ewbez;
    }

    public String getYyantxt() {
        return yyantxt;
    }

    public void setYyantxt(String yyantxt) {
        this.yyantxt = yyantxt;
    }

    public String getFunit() {
        return funit;
    }

    public void setFunit(String funit) {
        this.funit = funit;
    }

    public String getFpackunit() {
        return fpackunit;
    }

    public void setFpackunit(String fpackunit) {
        this.fpackunit = fpackunit;
    }

    public String getFflag() {
        return fflag;
    }

    public void setFflag(String fflag) {
        this.fflag = fflag;
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public String getFbarcode() {
        return fbarcode;
    }

    public void setFbarcode(String fbarcode) {
        this.fbarcode = fbarcode;
    }

    public BigDecimal getNum() {
        return num;
    }

    public void setNum(BigDecimal num) {
        this.num = num;
    }

    public BigDecimal getFnum() {
        return fnum;
    }

    public void setFnum(BigDecimal fnum) {
        this.fnum = fnum;
    }

    public String getInStockId() {
        return inStockId;
    }

    public void setInStockId(String inStockId) {
        this.inStockId = inStockId;
    }

    public String getInStockDId() {
        return inStockDId;
    }

    public void setInStockDId(String inStockDId) {
        this.inStockDId = inStockDId;
    }

    public String getFid() {
        return fid;
    }

    public void setFid(String fid) {
        this.fid = fid;
    }

    public String getOutStockId() {
        return outStockId;
    }

    public void setOutStockId(String outStockId) {
        this.outStockId = outStockId;
    }

    public String getOutStockDId() {
        return outStockDId;
    }

    public void setOutStockDId(String outStockDId) {
        this.outStockDId = outStockDId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getLotNo() {
        return lotNo;
    }

    public void setLotNo(String lotNo) {
        this.lotNo = lotNo;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("matnr", getMatnr())
            .append("maktx", getMaktx())
            .append("matnrMain", getMatnrMain())
            .append("ykutxt", getYkutxt())
            .append("ewbez", getEwbez())
            .append("yyantxt", getYyantxt())
            .append("funit", getFunit())
            .append("fpackunit", getFpackunit())
            .append("fflag", getFflag())
            .append("barcode", getBarcode())
            .append("fbarcode", getFbarcode())
            .append("num", getNum())
            .append("fnum", getFnum())
            .append("inStockId", getInStockId())
            .append("inStockDId", getInStockDId())
            .append("fid", getFid())
            .append("outStockId", getOutStockId())
            .append("outStockDId", getOutStockDId())
            .append("status", getStatus())
            .toString();
    }
}
